export const tableOption = {
  border: true,
  index: true,
  indexLabel: "序号",
  stripe: true,
  menuAlign: "center",
  align: "left",
  searchMenuSpan: 6,
  searchSpan: 8,
  labelWidth: 160,
  menuWidth:210,
  dialogDirection: "rtl",
  dialogType: "drawer",
  delBtn:false,
  editBtn:false,
  "column": [

    {
      span: 22,
      type: "datetimerange",
      label: "签到时间",
      format: "yyyy-MM-dd HH:mm:ss",
      valueFormat: "yyyy-MM-dd HH:mm:ss",
      prop: "signTime",
      search: true,
      searchslot: true,
      hide: true,
      addDisplay:false,
      editDisplay:false
    },
    {
      span: 22,
      label: "签到开始时间",
      prop: "signTime",
      type: "date",
      format:'yyyy-MM-dd HH:mm:ss',
      valueFormat:'yyyy-MM-dd HH:mm:ss',
      mock:{
        type:'datetime',
        format:'yyyy-MM-dd HH:mm:ss'
      },
      rules: [{
        required: true,
        message: "请选择签到开始时间",
        trigger: "blur"
      }]
  },

    {
      span: 22,
      "type": "input",
      "label": "签到发起人",
      "prop": "createByName",
      addDisplay:false,
      hide: true
    },
    {
      span: 22,
      "type": "input",
      "label": "签到人数",
      "prop": "Peoplenum",
      addDisplay:false,
      editDisplay:false,
    },
    {
      span: 22,
      // labelWidth: 100,
      label: '签到人员',
      prop: 'uids',
      type: 'tree',
      // filterText: '搜索关键字制自定义',
      multiple: true,
      accordion: true,
      hide: true,
      // dicUrl: '/circleorganizational/page/list/user',
      dicData: [],
      editDisplay: false,
      props: {
        label: "name",
        value: "id",
        children: "userVoList"
      },
      rules: [{
        required: true,
        message: "请选择签到人员",
        trigger: "blur"
      }]

    },


    // {

    //   "type": "input",
    //   "label": "是否被删除（1.正常2.已被删除）",
    //   "prop": "enable",
    //   addDisplay:false,
    //   hide:true
    // },
    //  {
    //   "type": "input",
    //   "label": "创建时间",
    //   "prop": "createTime",
    //   hide:true,
    //   add:false
    // } ,

    {
      span: 22,
      "type": "input",
      "label": "签到备注",
      "prop": "signNote",
      hide:true
    }, ]
}
